
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/excite-bike/jquery-ui-1.8.18.custom.css"/>
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/bootstrap.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/additional.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/responsive.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Yamazure :: Person List</title>
    </head>
    <body>
    
    	<div class="navbar navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="/yamazure/#">
       		<i class="icon-home icon-white" style="vertical-align: middle;"></i>
       		Yamazure&nbsp;&nbsp;&nbsp;&nbsp;
       </a>
       <div class="nav-collapse">
       	 <ul class="nav tooltip-demo">
       	 	<li class="dropdown">
       	 		<a class="dropdown-toggle" data-toggle="dropdown" href="#" rel="tooltip" data-original-title="Person Management with Yamasura">
       	 			<i class="icon-user icon-white"></i>
       	 			Person
       	 			<b class="caret"></b>
       	 		</a>
       	 		<ul class="dropdown-menu">
       	 			<li><a href="/yamazure/person">Create</a></li>
       	 			<li><a href="/yamazure/person/search">Search</a></li>
       	 			<li><a href="/yamazure/person/result">List</a></li>
       	 		</ul>
       	 	</li>
       	 	<li class="dropdown">
       	 		<a class="dropdown-toggle" href="#" data-toggle="dropdown" rel="tooltip" data-original-title="Item Management with Yamasura">
       	 			<i class="icon-tags icon-white"></i>
       	 			Item
       	 			<b class="caret"></b>
       	 		</a>
       	 		<ul class="dropdown-menu">
       	 			<li><a href="/yamazure/item">Create</a></li>
       	 			<li><a href="/yamazure/item/search">Search</a></li>
       	 			<li><a href="/yamazure/item/search/result">List</a></li>
       	 		</ul>
       	 	</li>
       	 </ul>
       </div>
     </div>
   </div>
 </div>
 
 <div class="container">
    
<table border="0" cellpadding="3" cellspacing="1" class="table table-condensed table-striped">
    <tr>
        <td><b>FistName</b></td>
        <td><b>LastName</b></td>
        <td><b>Sex</b></td>
        <td><b>BirthDate</b></td>
        <td><b>Address</b></td>
        <td><b>Status</b></td>
        <td><b>Action</b></td>
    </tr>
    #foreach($p in $list.persons)
    <tr>
        <td>$!p.firstName</td>
        <td>$!p.lastName</td>
        <td>
        	#if($!p.gender == "true"	)
        		Male
        	#else
        		Female
        	#end
        </td>
        <td>$!p.birthDate</td>
        <td>$!p.address</td>
        <td>$!p.status</td>
        <td>
            <a href="/yamazure/person/$!p.id/detail">
                <img src="/yamazure/images/silk/application_view_detail.png" title="Detail" border="0"/></a>&nbsp;&nbsp;&nbsp;
        	<a href="/yamazure/person/$!p.id/edit">
                <img src="/yamazure/images/silk/application_edit.png" title="Edit" border="0"/></a>&nbsp;&nbsp;&nbsp;
            <a href="/yamazure/person/$!p.id/delete" onclick="javascript:return confirm('Are you sure want to delete $!p.firstName');">
                <img src="/yamazure/images/silk/delete.png" title="Delete" border="0"/></a>&nbsp;&nbsp;&nbsp;        	
        </td>
    </tr>
    #end
        </table>
        <br/><br/>
 	<footer class="footer">
 		&copy; Yamazure 2012
 	</footer>
        
        </div>
        
        <script src="/yamazure/js/jquery-1.7.1.min.js"></script>
		<script src="/yamazure/js/jquery-ui-1.8.18.custom.min.js"></script>
		<script src="/yamazure/js/bootstrap.js"></script>
		<script>
			$("#datepicker").datepicker();
			 $('a[rel=tooltip]').tooltip({
			'placement': 'bottom'
			});
		</script>
    </body>
</html>
